package com.hxy.user.mapper;

import com.hxy.basic.mapper.BaseMapper;
import com.hxy.user.domain.User;

public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据电话号码查询用户
     * @return
     */
    User findByPhone(String phone);

    /**
     *
     * @param id
     * @return
     */
    User findByLoginInfoId(Long id);
}
